﻿using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace B.S.DataBase.MyWrite.API.Appicant.Command.Roles
{
    public class UserRoleCommand : IRequest<APIResult<object>>
    {

        public int? UserRoleId { get; set; }
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleId { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        //public int[] UserId { get; set; } 
        public List<int> UserIds { get; set; } // 前端传入的数组 [1,2,3,4]

    }
}
